//clear float
.clear-fix {
  &:before,
  &:after {
    content: " ";
    display: table;
  }
  &:after {
    clear: both;
  }
}

//make a fixed ratio area
.fix-ratio {
  position: relative;
  .fixed {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
  }
  &:before {
    content: " ";
    display: block;
    padding-top: $fix-ratio;
  }
}
